package za.org.jcicada.cfgmngr.messages;

import java.util.List;

import za.org.jcicada.genss.PhysicalURN;
import za.org.jcicada.genss.messages.ReplyMessage;
import za.org.jcicada.genss.messages.Result;

public class GetChildrenReply extends ReplyMessage {

	/** Class serialization version id. */
	private static final long serialVersionUID = 1L;
	
	PhysicalURN parentURN;
	
	List<PhysicalURN> childrenURNs;

	public GetChildrenReply(Result result, PhysicalURN parentURN, List<PhysicalURN> childrenURNs) {
		super(result);
		this.parentURN = parentURN;
		this.childrenURNs = childrenURNs;
	}
	
	public PhysicalURN getParentURN() {
		return parentURN;
	}
	
	public List<PhysicalURN> getChildrenURNs() {
		return childrenURNs;
	}

}
